Rate-adaptive pacemaker: accelerometer